GPII-4517: Added workflow for github actions#329
GPII-4517: Added workflow for github actions#329javihernandez wants to merge 8 commits intoGPII:masterfrom
Conversation
| run: npx grunt lint | ||
|
|
||
| - name: Run node unit tests | ||
| run: node tests/UnitTests.js |
There was a problem hiding this comment.
Worth trying a few acceptance tests? Do they run?
There was a problem hiding this comment.
They would run, but if we want to run them as they are we'd need to set up couchdb. I can definitely take a look if there's an easy way to set up couchdb in the github-hosted windows images. I think I can even take a look at creating a small github action that sets up couchdb on windows (I already did something similar for our vagrant boxes), but again, I'd need some time.
Another option would be to run the acceptanceTests against a file-based prefsServer, which I think it's not the way we want to test things.
There was a problem hiding this comment.
So yeah, let me give a try at setting up couchdb, I'll keep you posted 😉
There was a problem hiding this comment.
Done, here's the link to the CI pass https://github.com/javihernandez/windows/runs/1415137751?check_suite_focus=true
package.json
Outdated
| "edge-js": "10.3.1", | ||
| "ffi-napi": "2.4.3", | ||
| "gpii-universal": "0.3.0-dev.20200604T131823Z.d6fed9a", | ||
| "gpii-universal": "javihernandez/universal#f2972b9deeae48847a4ed951d1ab703b4e7bafc5", |
There was a problem hiding this comment.
Which commit is this - should we roll a release of it?
There was a problem hiding this comment.
Right, the universal bits are in this PR GPII/universal#886
So let's say this PR needs that one the get merged first
This update includes the bits from GPII/universal#886
|
What's the state of the CI at this end? I see a "Pending - Build triggered" note from the bot, but I assume this form of CI is gone. What's required to get the github actions CI as the official one for this repo? |
|
Yes, this is the old CI, which is gone now. I already checked that further PRs won't trigger any job into the old CI, see #330 After merging this PR, the tests will run on github actions with every new PR and whenever a new commit lands into master. All CI passes will appear in https://github.com/GPII/windows/actions as soon as this is merged as it happened in universal, see https://github.com/GPII/universal/actions |
Here's an example of one CI pass https://github.com/javihernandez/windows/runs/1406430176?check_suite_focus=true